package com.zhaodi.mybatisflexdemo.es.domain;


import lombok.Data;
import lombok.experimental.Accessors;
import org.dromara.easyes.annotation.IndexId;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.IdType;
import org.springframework.data.elasticsearch.annotations.Document;

import java.time.LocalDateTime;

@Data
@IndexName("bs_project")
@Accessors(chain = true)
public class BsProject {

    @IndexId(type=IdType.CUSTOMIZE)
    private Long id;

    private String projectName;
    private Long createBy;
    private LocalDateTime createTime;
}
